<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/18
 * Time: 22:47
 */

namespace app\index\model;


use think\Model;

class BannerModel extends Model
{
    protected $name = 'banner';

    public function getBannerList()
    {
        return $this->order('id desc')->select();
    }


}